<!doctype html>
<html lang="zh-Hans">

<head>
    <meta charset="utf-8">
    <meta name="author" content="Fresns" />
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="generator" content="Bootstrap 5">
    <title>Fresns 控制面板基础版</title>
    <link rel="stylesheet" href="../assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="../assets/css/bootstrap-icons.css">
    <link rel="stylesheet" href="../assets/css/admin.css">
</head>

<body>
    <header>
        <nav class="navbar navbar-light bg-light shadow-sm">
            <div class="container-lg">
                <a class="navbar-brand" href="index.html"><i class="bi bi-gear"></i> 控制面板 <span class="badge bg-secondary fs-9">基础版</span></a>
                <ul class="navbar-nav me-auto d-flex flex-row flex-wrap">
                    <li class="mx-2 mx-lg-3"><a class="nav-link" href="policies.html">协议设置</a></li>
                    <li class="mx-2 mx-lg-3"><a class="nav-link active" href="sites.html">站点设置</a></li>
                    <li class="mx-2 mx-lg-3"><a class="nav-link" href="sends.html">发信设置</a></li>
                    <li class="mx-2 mx-lg-3"><a class="nav-link" href="storage-images.html">存储设置</a></li>
                    <li class="mx-2 mx-lg-3"><a class="nav-link" href="filters.html">过滤配置</a></li>
                </ul>
                </div>
            </div>
        </nav>
    </header>

    <main>
        <div class="container-lg p-0 p-lg-3">
            <div class="bg-body shadow-sm mt-3 p-4 p-lg-5">
                <form class="form-setting">
                    <div class="row mb-4">
                        <label for="site_name" class="col-lg-3 col-xl-4 col-form-label text-lg-end">站点名称：</label>
                        <div class="col-lg-8">
                            <input type="text" class="form-control" id="site_name">
                        </div>
                    </div>

                    <div class="row mb-4">
                        <label for="site_desc" class="col-lg-3 col-xl-4 col-form-label text-lg-end">站点介绍：</label>
                        <div class="col-lg-8">
                            <textarea class="form-control" id="site_desc" rows="3"></textarea>
                        </div>
                    </div>

                    <div class="row mb-4">
                        <label for="site_img" class="col-lg-3 col-xl-4 col-form-label text-lg-end">站点标志：</label>
                        <div class="col-lg-8">
                            <div class="input-group mb-1">
                                <label class="input-group-text font-monospace" for="ICON">ICON</label>
                                <input type="file" class="form-control" id="site_icon">
                                <button class="btn btn-outline-secondary" type="button">查看</button>
                            </div>
                            <div class="input-group">
                                <label class="input-group-text font-monospace" for="LOGO">LOGO</label>
                                <input type="file" class="form-control" id="site_logo">
                                <button class="btn btn-outline-secondary" type="button">查看</button>
                            </div>
                        </div>
                    </div>

                    <div class="row mb-4">
                        <label for="site_copyright" class="col-lg-3 col-xl-4 col-form-label text-lg-end">版权信息：</label>
                        <div class="col-lg-8">
                            <div class="input-group">
                                <span class="input-group-text">&copy;</span>
                                <input type="text" class="form-control" id="site_copyright" placeholder="Fresns">
                                <input type="text" class="form-control" id="site_copyright_years" placeholder="2020-2021">
                            </div>
                        </div>
                    </div>

                    <div class="row mb-4">
                        <label for="site_copyright_years" class="col-lg-3 col-xl-4 col-form-label text-lg-end">默认时区：</label>
                        <div class="col-lg-8">
                            <select class="form-select" id="default_timezone">
                                <option value="UTC-12">UTC-12</option>
                                <option value="UTC-11.5">UTC-11:30</option>
                                <option value="UTC-11">UTC-11</option>
                                <option value="UTC-10.5">UTC-10:30</option>
                                <option value="UTC-10">UTC-10</option>
                                <option value="UTC-9.5">UTC-9:30</option>
                                <option value="UTC-9">UTC-9</option>
                                <option value="UTC-8.5">UTC-8:30</option>
                                <option value="UTC-8">UTC-8</option>
                                <option value="UTC-7.5">UTC-7:30</option>
                                <option value="UTC-7">UTC-7</option>
                                <option value="UTC-6.5">UTC-6:30</option>
                                <option value="UTC-6">UTC-6</option>
                                <option value="UTC-5.5">UTC-5:30</option>
                                <option value="UTC-5">UTC-5</option>
                                <option value="UTC-4.5">UTC-4:30</option>
                                <option value="UTC-4">UTC-4</option>
                                <option value="UTC-3.5">UTC-3:30</option>
                                <option value="UTC-3">UTC-3</option>
                                <option value="UTC-2.5">UTC-2:30</option>
                                <option value="UTC-2">UTC-2</option>
                                <option value="UTC-1.5">UTC-1:30</option>
                                <option value="UTC-1">UTC-1</option>
                                <option value="UTC-0.5">UTC-0:30</option>
                                <option value="UTC+0">UTC+0</option>
                                <option value="UTC+0.5">UTC+0:30</option>
                                <option value="UTC+1">UTC+1</option>
                                <option value="UTC+1.5">UTC+1:30</option>
                                <option value="UTC+2">UTC+2</option>
                                <option value="UTC+2.5">UTC+2:30</option>
                                <option value="UTC+3">UTC+3</option>
                                <option value="UTC+3.5">UTC+3:30</option>
                                <option value="UTC+4">UTC+4</option>
                                <option value="UTC+4.5">UTC+4:30</option>
                                <option value="UTC+5">UTC+5</option>
                                <option value="UTC+5.5">UTC+5:30</option>
                                <option value="UTC+5.75">UTC+5:45</option>
                                <option value="UTC+6">UTC+6</option>
                                <option value="UTC+6.5">UTC+6:30</option>
                                <option value="UTC+7">UTC+7</option>
                                <option value="UTC+7.5">UTC+7:30</option>
                                <option value="UTC+8" selected>UTC+8</option>
                                <option value="UTC+8.5">UTC+8:30</option>
                                <option value="UTC+8.75">UTC+8:45</option>
                                <option value="UTC+9">UTC+9</option>
                                <option value="UTC+9.5">UTC+9:30</option>
                                <option value="UTC+10">UTC+10</option>
                                <option value="UTC+10.5">UTC+10:30</option>
                                <option value="UTC+11">UTC+11</option>
                                <option value="UTC+11.5">UTC+11:30</option>
                                <option value="UTC+12">UTC+12</option>
                                <option value="UTC+12.75">UTC+12:45</option>
                                <option value="UTC+13">UTC+13</option>
                                <option value="UTC+13.75">UTC+13:45</option>
                                <option value="UTC+14">UTC+14</option>
                            </select>
                        </div>
                    </div>

                    <div class="row mb-4">
                        <label for="site_mode" class="col-lg-3 col-xl-4 col-form-label text-lg-end">运行模式：</label>
                        <div class="col-lg-8 pt-2" id="accordionSiteMode">
                            <div class="form-check form-check-inline">
                                <input class="form-check-input" type="radio" name="site_mode" id="site_mode_public" value="public" data-bs-toggle="collapse" data-bs-target="#public_setting:not(.show)" aria-expanded="true" aria-controls="public_setting" checked>
                                <label class="form-check-label" for="site_mode_public">公开模式</label>
                            </div>
                            <div class="form-check form-check-inline">
                                <input class="form-check-input" type="radio" name="site_mode" id="site_mode_private" value="private" data-bs-toggle="collapse" data-bs-target="#private_setting:not(.show)" aria-expanded="false" aria-controls="private_setting">
                                <label class="form-check-label" for="site_mode_private">私有模式</label>
                            </div>
                            <!--运行模式设置 开始-->
                            <div class="collapse show" id="public_setting" aria-labelledby="site_mode_public" data-bs-parent="#accordionSiteMode">
                                <!--公开模式设置 开始-->
                                <div class="card mt-2">
                                    <div class="card-header text-success">公开模式配置</div>
                                    <div class="card-body">
                                        <!--配置 开始-->
                                        <div class="input-group mb-3">
                                            <label class="input-group-text" for="register_close">是否开放注册</label>
                                            <select class="form-select" id="register_close">
                                                <option value="false" selected>关闭注册</option>
                                                <option value="true">开放注册</option>
                                            </select>
                                        </div>
                                        <div class="input-group mb-3">
                                            <label class="input-group-text" for="register_plugin">注册功能配置</label>
                                            <select class="form-select" id="register_plugin">
                                                <option selected>默认</option>
                                                <option value="xx">xx插件</option>
                                            </select>
                                        </div>
                                        <div class="input-group mb-1">
                                            <label class="input-group-text" for="site_private_end">注册账号支持</label>
                                            <div class="form-control bg-body">
                                                <div class="form-check form-check-inline">
                                                    <input class="form-check-input" type="checkbox" id="account_email" value="true">
                                                    <label class="form-check-label" for="account_email">邮箱注册</label>
                                                </div>
                                                <div class="form-check form-check-inline">
                                                    <input class="form-check-input" type="checkbox" id="account_phone" value="true">
                                                    <label class="form-check-label" for="account_phone">手机号注册</label>
                                                </div>
                                            </div>
                                        </div>
                                        <!--配置 结束-->
                                    </div>
                                </div>
                                <!--公开模式设置 结束-->
                            </div>
                            <div class="collapse" id="private_setting" aria-labelledby="site_mode_private" data-bs-parent="#accordionSiteMode">
                                <!--私有模式设置 开始-->
                                <div class="card mt-2">
                                    <div class="card-header text-danger">私有模式配置</div>
                                    <div class="card-body">
                                        <!--配置 开始-->
                                        <div class="input-group mb-3">
                                            <label class="input-group-text" for="site_private_type">是否对外开放加入</label>
                                            <select class="form-select" id="site_private_type">
                                                <option value="false" selected>关闭</option>
                                                <option value="true">开放</option>
                                            </select>
                                        </div>
                                        <div class="input-group mb-3">
                                            <label class="input-group-text" for="site_private_plugin">加入通道支持插件</label>
                                            <select class="form-select" id="site_private_plugin">
                                                <option selected disabled>请选择插件关联</option>
                                                <option value="1">xx插件</option>
                                                <option value="2">zz插件</option>
                                            </select>
                                        </div>
                                        <div class="input-group mb-1">
                                            <label class="input-group-text" for="site_private_end">私有到期后的状态</label>
                                            <select class="form-select" id="site_private_end">
                                                <option value="0" selected>站点内容不可见</option>
                                                <option value="1">到期前内容可见，新内容不可见</option>
                                            </select>
                                        </div>
                                        <!--配置 结束-->
                                    </div>
                                </div>
                                <!--私有模式设置 结束-->
                            </div>
                            <!--运行模式设置 结束-->
                        </div>
                    </div>

                    <div class="row mb-4">
                        <label for="site_copyright_years" class="col-lg-3 col-xl-4 col-form-label text-lg-end">编辑器：</label>
                        <div class="col-lg-8">
                            <div class="input-group">
                                <select class="form-select" id="post_editor">
                                    <option selected disabled>发表帖子编辑器</option>
                                    <option value="fresns-editor">默认编辑器</option>
                                    <option value="2">xx编辑器</option>
                                    <option value="3">MD编辑器</option>
                                </select>
                                <select class="form-select" id="comment_editor">
                                    <option selected disabled>发表评论编辑器</option>
                                    <option value="fresns-editor">默认编辑器</option>
                                    <option value="2">xx编辑器</option>
                                    <option value="3">MD编辑器</option>
                                </select>
                            </div>
                        </div>
                    </div>

                    <!--保存按钮-->
                    <div class="row mt-5">
                        <div class="col-lg-3 col-xl-4"></div>
                        <div class="col-lg-8">
                            <button type="submit" class="btn btn-primary">提交保存</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </main>

    <footer>
        <div class="copyright text-center">
            <p class="mt-5 mb-5 text-muted">&copy; 2021 Fresns</p>
        </div>
    </footer>

    <script src="../assets/javascript/bootstrap.bundle.min.js"></script>
    <script src="../assets/javascript/admin.js"></script>
</body>

</html>